package com.daxidi.cn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.daxidi.cn.entity.Bill;
import java.util.Map;

/**
 * <p>
 * 订单表 order 系统默认字段不能用 服务类
 * </p>
 *
 * @author wsh
 * @since 2020-11-09
 */
public interface IBillService extends IService<Bill> {
    // 增
    public void addBill(Bill bill);
    // 删
    public void deleteBillById(Long id);
    // 改
    public void updateBillById(Bill bill);
    // 查
    public Map selectBillsPage(Integer pageNum,Integer pageSize);

    public Bill selectBillById(Long id);

    public Bill selectBillByMemberId(Long memberId, Long timestamp);

    public Bill selectBillByPayId(Long payId);

    public Bill selectBillByOrderId(Long orderId);

    public Map showBillVosByYear(Integer shopId,String year,String month);
}
